package com.qingzhuge.exception;


import com.qingzhuge.common.HttpCode;

/**
 * @author : zero.xiao
 * @description :
 * @modified :
 */
public class ConfigException extends BaseException {
    public ConfigException() {
        super(HttpCode.CONFIG_ERROR.message());
    }

    public ConfigException(Throwable ex) {
        super(ex);
    }

    public ConfigException(String message) {
        super(message);
    }

    public ConfigException(String message, Throwable ex) {
        super(message, ex);
    }

    @Override
    public int getCode() {
        return HttpCode.CONFIG_ERROR.value();
    }
}